package com.puti.doctor.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.puti.common.core.annotation.Excel;
import com.puti.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 系统管理-医院-信息 系统管理-医院-信息对象 system_hospital_info
 * 
 * @author puti
 * @date 2021-04-26
 */
public class SystemHospitalInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医院编号 */
    private Long hospitalId;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String hospitalName;

    /** 医师人数 */
    @Excel(name = "医师人数")
    private Long hospitalDoctors;

    /** 问诊次数 */
    @Excel(name = "问诊次数")
    private Long hospitalConsultation;

    /** 好评度 */
    @Excel(name = "好评度")
    private BigDecimal hospitalPraise;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private Long revision;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    public void setHospitalId(Long hospitalId) 
    {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() 
    {
        return hospitalId;
    }
    public void setHospitalName(String hospitalName) 
    {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName() 
    {
        return hospitalName;
    }
    public void setHospitalDoctors(Long hospitalDoctors) 
    {
        this.hospitalDoctors = hospitalDoctors;
    }

    public Long getHospitalDoctors() 
    {
        return hospitalDoctors;
    }
    public void setHospitalConsultation(Long hospitalConsultation) 
    {
        this.hospitalConsultation = hospitalConsultation;
    }

    public Long getHospitalConsultation() 
    {
        return hospitalConsultation;
    }
    public void setHospitalPraise(BigDecimal hospitalPraise) 
    {
        this.hospitalPraise = hospitalPraise;
    }

    public BigDecimal getHospitalPraise() 
    {
        return hospitalPraise;
    }
    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("hospitalId", getHospitalId())
            .append("hospitalName", getHospitalName())
            .append("hospitalDoctors", getHospitalDoctors())
            .append("hospitalConsultation", getHospitalConsultation())
            .append("hospitalPraise", getHospitalPraise())
            .append("revision", getRevision())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
